<html><body>
<style>

body, h1, h2, h3, div, span, p, pre, a {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body {
  font-size: 13px;
  padding: 1em;
}

h1 {
  font-size: 26px;
  margin-bottom: 1em;
}

h2 {
  font-size: 24px;
  margin-bottom: 1em;
}

h3 {
  font-size: 20px;
  margin-bottom: 1em;
  margin-top: 1em;
}

pre, code {
  line-height: 1.5;
  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
}

pre {
  margin-top: 0.5em;
}

h1, h2, h3, p {
  font-family: Arial, sans serif;
}

h1, h2, h3 {
  border-bottom: solid #CCC 1px;
}

.toc_element {
  margin-top: 0.5em;
}

.firstline {
  margin-left: 2 em;
}

.method  {
  margin-top: 1em;
  border: solid 1px #CCC;
  padding: 1em;
  background: #EEE;
}

.details {
  font-weight: bold;
  font-size: 14px;
}

</style>

<h1><a href="dfareporting_v3_5.html">Campaign Manager 360 API</a> . <a href="dfareporting_v3_5.eventTags.html">eventTags</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
  <code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
  <code><a href="#delete">delete(profileId, id, x__xgafv=None)</a></code></p>
<p class="firstline">Deletes an existing event tag.</p>
<p class="toc_element">
  <code><a href="#get">get(profileId, id, x__xgafv=None)</a></code></p>
<p class="firstline">Gets one event tag by ID.</p>
<p class="toc_element">
  <code><a href="#insert">insert(profileId, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Inserts a new event tag.</p>
<p class="toc_element">
  <code><a href="#list">list(profileId, adId=None, advertiserId=None, campaignId=None, definitionsOnly=None, enabled=None, eventTagTypes=None, ids=None, searchString=None, sortField=None, sortOrder=None, x__xgafv=None)</a></code></p>
<p class="firstline">Retrieves a list of event tags, possibly filtered.</p>
<p class="toc_element">
  <code><a href="#patch">patch(profileId, id, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an existing event tag. This method supports patch semantics.</p>
<p class="toc_element">
  <code><a href="#update">update(profileId, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Updates an existing event tag.</p>
<h3>Method Details</h3>
<div class="method">
    <code class="details" id="close">close()</code>
  <pre>Close httplib2 connections.</pre>
</div>

<div class="method">
    <code class="details" id="delete">delete(profileId, id, x__xgafv=None)</code>
  <pre>Deletes an existing event tag.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, Event tag ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format
</pre>
</div>

<div class="method">
    <code class="details" id="get">get(profileId, id, x__xgafv=None)</code>
  <pre>Gets one event tag by ID.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, Event tag ID. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of an event tag.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this event tag. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
  &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;enabledByDefault&quot;: True or False, # Whether this event tag should be automatically enabled for all of the advertiser&#x27;s campaigns and ads.
  &quot;excludeFromAdxRequests&quot;: True or False, # Whether to remove this event tag from ads that are trafficked through Display &amp; Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
  &quot;id&quot;: &quot;A String&quot;, # ID of this event tag. This is a read-only, auto-generated field.
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#eventTag&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this event tag. This is a required field and must be less than 256 characters long.
  &quot;siteFilterType&quot;: &quot;A String&quot;, # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
  &quot;siteIds&quot;: [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
    &quot;A String&quot;,
  ],
  &quot;sslCompliant&quot;: True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
  &quot;status&quot;: &quot;A String&quot;, # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this event tag. This is a read-only field that can be left blank.
  &quot;type&quot;: &quot;A String&quot;, # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
  &quot;url&quot;: &quot;A String&quot;, # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
  &quot;urlEscapeLevels&quot;: 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
}</pre>
</div>

<div class="method">
    <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code>
  <pre>Inserts a new event tag.

Args:
  profileId: string, User profile ID associated with this request. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains properties of an event tag.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this event tag. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
  &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;enabledByDefault&quot;: True or False, # Whether this event tag should be automatically enabled for all of the advertiser&#x27;s campaigns and ads.
  &quot;excludeFromAdxRequests&quot;: True or False, # Whether to remove this event tag from ads that are trafficked through Display &amp; Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
  &quot;id&quot;: &quot;A String&quot;, # ID of this event tag. This is a read-only, auto-generated field.
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#eventTag&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this event tag. This is a required field and must be less than 256 characters long.
  &quot;siteFilterType&quot;: &quot;A String&quot;, # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
  &quot;siteIds&quot;: [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
    &quot;A String&quot;,
  ],
  &quot;sslCompliant&quot;: True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
  &quot;status&quot;: &quot;A String&quot;, # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this event tag. This is a read-only field that can be left blank.
  &quot;type&quot;: &quot;A String&quot;, # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
  &quot;url&quot;: &quot;A String&quot;, # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
  &quot;urlEscapeLevels&quot;: 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of an event tag.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this event tag. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
  &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;enabledByDefault&quot;: True or False, # Whether this event tag should be automatically enabled for all of the advertiser&#x27;s campaigns and ads.
  &quot;excludeFromAdxRequests&quot;: True or False, # Whether to remove this event tag from ads that are trafficked through Display &amp; Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
  &quot;id&quot;: &quot;A String&quot;, # ID of this event tag. This is a read-only, auto-generated field.
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#eventTag&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this event tag. This is a required field and must be less than 256 characters long.
  &quot;siteFilterType&quot;: &quot;A String&quot;, # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
  &quot;siteIds&quot;: [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
    &quot;A String&quot;,
  ],
  &quot;sslCompliant&quot;: True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
  &quot;status&quot;: &quot;A String&quot;, # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this event tag. This is a read-only field that can be left blank.
  &quot;type&quot;: &quot;A String&quot;, # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
  &quot;url&quot;: &quot;A String&quot;, # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
  &quot;urlEscapeLevels&quot;: 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
}</pre>
</div>

<div class="method">
    <code class="details" id="list">list(profileId, adId=None, advertiserId=None, campaignId=None, definitionsOnly=None, enabled=None, eventTagTypes=None, ids=None, searchString=None, sortField=None, sortOrder=None, x__xgafv=None)</code>
  <pre>Retrieves a list of event tags, possibly filtered.

Args:
  profileId: string, User profile ID associated with this request. (required)
  adId: string, Select only event tags that belong to this ad.
  advertiserId: string, Select only event tags that belong to this advertiser.
  campaignId: string, Select only event tags that belong to this campaign.
  definitionsOnly: boolean, Examine only the specified campaign or advertiser&#x27;s event tags for matching selector criteria. When set to false, the parent advertiser and parent campaign of the specified ad or campaign is examined as well. In addition, when set to false, the status field is examined as well, along with the enabledByDefault field. This parameter can not be set to true when adId is specified as ads do not define their own even tags.
  enabled: boolean, Select only enabled event tags. What is considered enabled or disabled depends on the definitionsOnly parameter. When definitionsOnly is set to true, only the specified advertiser or campaign&#x27;s event tags&#x27; enabledByDefault field is examined. When definitionsOnly is set to false, the specified ad or specified campaign&#x27;s parent advertiser&#x27;s or parent campaign&#x27;s event tags&#x27; enabledByDefault and status fields are examined as well.
  eventTagTypes: string, Select only event tags with the specified event tag types. Event tag types can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. (repeated)
    Allowed values
      IMPRESSION_IMAGE_EVENT_TAG - 
      IMPRESSION_JAVASCRIPT_EVENT_TAG - 
      CLICK_THROUGH_EVENT_TAG - 
  ids: string, Select only event tags with these IDs. (repeated)
  searchString: string, Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, &quot;eventtag*2015&quot; will return objects with names like &quot;eventtag June 2015&quot;, &quot;eventtag April 2015&quot;, or simply &quot;eventtag 2015&quot;. Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of &quot;eventtag&quot; will match objects with name &quot;my eventtag&quot;, &quot;eventtag 2015&quot;, or simply &quot;eventtag&quot;.
  sortField: string, Field by which to sort the list.
    Allowed values
      ID - 
      NAME - 
  sortOrder: string, Order of sorted results.
    Allowed values
      ASCENDING - 
      DESCENDING - 
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Event Tag List Response
  &quot;eventTags&quot;: [ # Event tag collection.
    { # Contains properties of an event tag.
      &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this event tag. This is a read-only field that can be left blank.
      &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
      &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
      &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
      },
      &quot;enabledByDefault&quot;: True or False, # Whether this event tag should be automatically enabled for all of the advertiser&#x27;s campaigns and ads.
      &quot;excludeFromAdxRequests&quot;: True or False, # Whether to remove this event tag from ads that are trafficked through Display &amp; Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
      &quot;id&quot;: &quot;A String&quot;, # ID of this event tag. This is a read-only, auto-generated field.
      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#eventTag&quot;.
      &quot;name&quot;: &quot;A String&quot;, # Name of this event tag. This is a required field and must be less than 256 characters long.
      &quot;siteFilterType&quot;: &quot;A String&quot;, # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
      &quot;siteIds&quot;: [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
        &quot;A String&quot;,
      ],
      &quot;sslCompliant&quot;: True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
      &quot;status&quot;: &quot;A String&quot;, # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
      &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this event tag. This is a read-only field that can be left blank.
      &quot;type&quot;: &quot;A String&quot;, # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
      &quot;url&quot;: &quot;A String&quot;, # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
      &quot;urlEscapeLevels&quot;: 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
    },
  ],
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#eventTagsListResponse&quot;.
}</pre>
</div>

<div class="method">
    <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code>
  <pre>Updates an existing event tag. This method supports patch semantics.

Args:
  profileId: string, User profile ID associated with this request. (required)
  id: string, EventTag ID. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains properties of an event tag.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this event tag. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
  &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;enabledByDefault&quot;: True or False, # Whether this event tag should be automatically enabled for all of the advertiser&#x27;s campaigns and ads.
  &quot;excludeFromAdxRequests&quot;: True or False, # Whether to remove this event tag from ads that are trafficked through Display &amp; Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
  &quot;id&quot;: &quot;A String&quot;, # ID of this event tag. This is a read-only, auto-generated field.
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#eventTag&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this event tag. This is a required field and must be less than 256 characters long.
  &quot;siteFilterType&quot;: &quot;A String&quot;, # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
  &quot;siteIds&quot;: [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
    &quot;A String&quot;,
  ],
  &quot;sslCompliant&quot;: True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
  &quot;status&quot;: &quot;A String&quot;, # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this event tag. This is a read-only field that can be left blank.
  &quot;type&quot;: &quot;A String&quot;, # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
  &quot;url&quot;: &quot;A String&quot;, # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
  &quot;urlEscapeLevels&quot;: 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of an event tag.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this event tag. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
  &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;enabledByDefault&quot;: True or False, # Whether this event tag should be automatically enabled for all of the advertiser&#x27;s campaigns and ads.
  &quot;excludeFromAdxRequests&quot;: True or False, # Whether to remove this event tag from ads that are trafficked through Display &amp; Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
  &quot;id&quot;: &quot;A String&quot;, # ID of this event tag. This is a read-only, auto-generated field.
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#eventTag&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this event tag. This is a required field and must be less than 256 characters long.
  &quot;siteFilterType&quot;: &quot;A String&quot;, # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
  &quot;siteIds&quot;: [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
    &quot;A String&quot;,
  ],
  &quot;sslCompliant&quot;: True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
  &quot;status&quot;: &quot;A String&quot;, # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this event tag. This is a read-only field that can be left blank.
  &quot;type&quot;: &quot;A String&quot;, # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
  &quot;url&quot;: &quot;A String&quot;, # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
  &quot;urlEscapeLevels&quot;: 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
}</pre>
</div>

<div class="method">
    <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code>
  <pre>Updates an existing event tag.

Args:
  profileId: string, User profile ID associated with this request. (required)
  body: object, The request body.
    The object takes the form of:

{ # Contains properties of an event tag.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this event tag. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
  &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;enabledByDefault&quot;: True or False, # Whether this event tag should be automatically enabled for all of the advertiser&#x27;s campaigns and ads.
  &quot;excludeFromAdxRequests&quot;: True or False, # Whether to remove this event tag from ads that are trafficked through Display &amp; Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
  &quot;id&quot;: &quot;A String&quot;, # ID of this event tag. This is a read-only, auto-generated field.
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#eventTag&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this event tag. This is a required field and must be less than 256 characters long.
  &quot;siteFilterType&quot;: &quot;A String&quot;, # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
  &quot;siteIds&quot;: [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
    &quot;A String&quot;,
  ],
  &quot;sslCompliant&quot;: True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
  &quot;status&quot;: &quot;A String&quot;, # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this event tag. This is a read-only field that can be left blank.
  &quot;type&quot;: &quot;A String&quot;, # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
  &quot;url&quot;: &quot;A String&quot;, # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
  &quot;urlEscapeLevels&quot;: 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Contains properties of an event tag.
  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this event tag. This is a read-only field that can be left blank.
  &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this event tag. This field or the campaignId field is required on insertion.
  &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this event tag. This field or the advertiserId field is required on insertion.
  &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
  },
  &quot;enabledByDefault&quot;: True or False, # Whether this event tag should be automatically enabled for all of the advertiser&#x27;s campaigns and ads.
  &quot;excludeFromAdxRequests&quot;: True or False, # Whether to remove this event tag from ads that are trafficked through Display &amp; Video 360 to Ad Exchange. This may be useful if the event tag uses a pixel that is unapproved for Ad Exchange bids on one or more networks, such as the Google Display Network.
  &quot;id&quot;: &quot;A String&quot;, # ID of this event tag. This is a read-only, auto-generated field.
  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#eventTag&quot;.
  &quot;name&quot;: &quot;A String&quot;, # Name of this event tag. This is a required field and must be less than 256 characters long.
  &quot;siteFilterType&quot;: &quot;A String&quot;, # Site filter type for this event tag. If no type is specified then the event tag will be applied to all sites.
  &quot;siteIds&quot;: [ # Filter list of site IDs associated with this event tag. The siteFilterType determines whether this is a allowlist or blocklist filter.
    &quot;A String&quot;,
  ],
  &quot;sslCompliant&quot;: True or False, # Whether this tag is SSL-compliant or not. This is a read-only field.
  &quot;status&quot;: &quot;A String&quot;, # Status of this event tag. Must be ENABLED for this event tag to fire. This is a required field.
  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this event tag. This is a read-only field that can be left blank.
  &quot;type&quot;: &quot;A String&quot;, # Event tag type. Can be used to specify whether to use a third-party pixel, a third-party JavaScript URL, or a third-party click-through URL for either impression or click tracking. This is a required field.
  &quot;url&quot;: &quot;A String&quot;, # Payload URL for this event tag. The URL on a click-through event tag should have a landing page URL appended to the end of it. This field is required on insertion.
  &quot;urlEscapeLevels&quot;: 42, # Number of times the landing page URL should be URL-escaped before being appended to the click-through event tag URL. Only applies to click-through event tags as specified by the event tag type.
}</pre>
</div>

</body></html>